svm: Fix for AMD erratum 383 on Family 10h CPUs
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 18 May 2010 10:21:25 +0000 (11:21 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 18 May 2010 10:21:25 +0000 (11:21 +0100)
commit8e2742a55ce01e5bd76ed8befd314d000c79267b
treef061e5932333864f9d2d7799a903096294f31c44
parent2dfb040b49b03bfd89dd9c1546ced454096f18f7
svm: Fix for AMD erratum 383 on Family 10h CPUs

This patches implements the workaround of AMD erratum 383 on family
10h CPUs. It destroys the guest VM when a MC error with a special
pattern is detected. Without this patch, a guest VM failure can
potentially crash Xen hypervisor and the whole system. The erratum
will be published in next version of guide.

Signed-off-by: Wei Huang <wei.huang2@amd.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Christoph Egger <christoph.egger@amd.com>
xen/arch/x86/hvm/svm/svm.c
xen/include/asm-x86/msr-index.h